{
  "properties" : { },
  "id" : "copy1740245104428d58754",
  "script" : null,
  "groupId" : "1d769e450596490d8703eac12b73d96e",
  "name" : "09.饿了么活动列表",
  "createTime" : null,
  "updateTime" : 1740247229893,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "/elmActivityList",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n     \"v\":\"v3\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"data\": {\n        \"red_activity\": [\n            {\n                \"activity_id\": \"10144\",\n                \"activity_name\": \"饿了么天天领红包（全场景通用）\",\n                \"activity_desc\": \"最高抢66元大额红包\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000005066/O1CN01ky8Jg81nIHHNDoI7P_!!6000000005066-2-o2oad.png\",\n                \"start_time\": \"1649865600\",\n                \"end_time\": \"1746028799\",\n                \"act_type\": \"1\"\n            }\n        ],\n        \"time_activity\": [\n            {\n                \"activity_id\": \"10247\",\n                \"activity_name\": \"零售会场（新）\",\n                \"activity_desc\": \"超低价爆品来袭\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000003629/O1CN01eZ1REo1cg8EILHbEL_!!6000000003629-0-o2oad.jpg\",\n                \"start_time\": \"1668787200\",\n                \"end_time\": \"1767196799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"10883\",\n                \"activity_name\": \"饿了么天天领红包（H5版本）\",\n                \"activity_desc\": \"饿了么天天领红包（H5版本）\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i1/6000000006798/O1CN0171Nh8m205XKOTY3gg_!!6000000006798-2-o2oad.png\",\n                \"start_time\": \"1676563200\",\n                \"end_time\": \"1772294399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"10607\",\n                \"activity_name\": \"消费日专享\",\n                \"activity_desc\": \"天天领消费日专享红包\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000004543/O1CN01OrXHFA1jQkB0fb3jG_!!6000000004543-0-o2oad.jpg\",\n                \"start_time\": \"1687276800\",\n                \"end_time\": \"1767196799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"10645\",\n                \"activity_name\": \"囤券券真省钱\",\n                \"activity_desc\": \"大牌低价，降至冰点！\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000000325/O1CN01ZlAzKr1EGtZsHzznp_!!6000000000325-2-o2oad.png\",\n                \"start_time\": \"1688486400\",\n                \"end_time\": \"1830268799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12367\",\n                \"activity_name\": \"好德可品牌日活动\",\n                \"activity_desc\": \"全场满59减15元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i1/6000000000278/O1CN01lN5M3f1DvN8jMx3gE_!!6000000000278-0-o2oad.jpg\",\n                \"start_time\": \"1740326400\",\n                \"end_time\": \"1740499199\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12098\",\n                \"activity_name\": \"超便零食日\",\n                \"activity_desc\": \"领6元红包\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000007402/O1CN01vZwg2t24YAh6NCfpl_!!6000000007402-2-o2oad.png\",\n                \"start_time\": \"1740326400\",\n                \"end_time\": \"1740412799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12393\",\n                \"activity_name\": \"小谷姐姐全国品牌日\",\n                \"activity_desc\": \"满30减8，叠加吃货红包最高减18元~\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000003127/O1CN01Y8yny61YyDX4Z0gJE_!!6000000003127-2-o2oad.png\",\n                \"start_time\": \"1740067200\",\n                \"end_time\": \"1740239999\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12398\",\n                \"activity_name\": \"正新鸡排全国品牌日\",\n                \"activity_desc\": \"满30减6，最高可减12元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000003036/O1CN01bxVmi81YIXUVsgQUg_!!6000000003036-0-o2oad.jpg\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11503\",\n                \"activity_name\": \"社群限量福利(淘天版)\",\n                \"activity_desc\": \"邀请好友，共享福利\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000002171/O1CN01o4R6qq1RuMfWkOcFo_!!6000000002171-2-o2oad.png\",\n                \"start_time\": \"1650038400\",\n                \"end_time\": \"1746028799\",\n                \"act_type\": \"2\"\n            },\n            {\n                \"activity_id\": \"12397\",\n                \"activity_name\": \"朴正昊韩式炸鸡全国品牌日\",\n                \"activity_desc\": \"满30减6，最高可减17元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i1/6000000005425/O1CN01tSTzlp1pwhgyYrx8n_!!6000000005425-0-o2oad.jpg\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12396\",\n                \"activity_name\": \"耶里夏丽全国品牌日\",\n                \"activity_desc\": \"满30减8，最高可减20元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000001238/O1CN011snULq1L13Mfzq8ly_!!6000000001238-2-o2oad.png\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12395\",\n                \"activity_name\": \"管氏翅吧北京品牌日\",\n                \"activity_desc\": \"无门槛8元，最高可减18元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i1/6000000002746/O1CN01lM71fx1W9idEwERNK_!!6000000002746-2-o2oad.png\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12394\",\n                \"activity_name\": \"华莱士全国品牌日\",\n                \"activity_desc\": \"满30减6，最高可减14元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000002190/O1CN01R9EW0G1S34Q3WhIm3_!!6000000002190-2-o2oad.png\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12400\",\n                \"activity_name\": \"张亮麻辣烫全国品牌日\",\n                \"activity_desc\": \"满20减6，最高可减16元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000006910/O1CN01Pa1XQP20upqjYEGVp_!!6000000006910-2-o2oad.png\",\n                \"start_time\": \"1740326400\",\n                \"end_time\": \"1740499199\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12399\",\n                \"activity_name\": \"海盗虾饭全国品牌日\",\n                \"activity_desc\": \"满20减6，最高可减14元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000001580/O1CN01v9ViRZ1NXgosefyrn_!!6000000001580-2-o2oad.png\",\n                \"start_time\": \"1740326400\",\n                \"end_time\": \"1740499199\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12401\",\n                \"activity_name\": \"农耕记北京上海深圳品牌日\",\n                \"activity_desc\": \"满30减6，最高可减14元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000003544/O1CN01Z6xXQY1c3CgxZFHmv_!!6000000003544-0-o2oad.jpg\",\n                \"start_time\": \"1740326400\",\n                \"end_time\": \"1740499199\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"10622\",\n                \"activity_name\": \"品牌馆\",\n                \"activity_desc\": \"超多品牌限时活动\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000007953/O1CN01Wlv82i28cWlZF2T3D_!!6000000007953-0-o2oad.jpg\",\n                \"start_time\": \"1687708800\",\n                \"end_time\": \"2003759999\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11698\",\n                \"activity_name\": \"医药全国门店活动\",\n                \"activity_desc\": \"全场满39元减8元，可叠加店铺券\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000006534/O1CN019S6lAG1y8cskQ5MCf_!!6000000006534-0-o2oad.jpg\",\n                \"start_time\": \"1735488000\",\n                \"end_time\": \"1740758399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11691\",\n                \"activity_name\": \"水果生鲜品类日\",\n                \"activity_desc\": \"水果满59减15元，生鲜满49减12元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000007896/O1CN01Z8nrff28CQJQv4SpB_!!6000000007896-0-o2oad.jpg\",\n                \"start_time\": \"1735228800\",\n                \"end_time\": \"1740758399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"10817\",\n                \"activity_name\": \"超抢手\",\n                \"activity_desc\": \"爆款好价天天有\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000000383/O1CN01KwzO0c1EhSiU2bsg5_!!6000000000383-0-o2oad.jpg\",\n                \"start_time\": \"1722355200\",\n                \"end_time\": \"1756655999\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11746\",\n                \"activity_name\": \"评价有礼单单返(淘天版)\",\n                \"activity_desc\": \"下单写优评，高额返现金\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000001443/O1CN01S114jE1MWwVGr1RJu_!!6000000001443-2-o2oad.png\",\n                \"start_time\": \"1723478400\",\n                \"end_time\": \"1767196799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11824\",\n                \"activity_name\": \"上海周四这杯我请\",\n                \"activity_desc\": \"奶茶满35减10元，满25减7元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i2/6000000001352/O1CN01Vglxhg1LrGT9IRtOJ_!!6000000001352-2-o2oad.png\",\n                \"start_time\": \"1725292800\",\n                \"end_time\": \"1761926399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11920\",\n                \"activity_name\": \"爆款特价\",\n                \"activity_desc\": \"大牌爆款，补贴特卖低价\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000007903/O1CN01WHtCde28Fd6R5QTlD_!!6000000007903-0-o2oad.jpg\",\n                \"start_time\": \"1728576000\",\n                \"end_time\": \"1767196799\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12008\",\n                \"activity_name\": \"全国超市便利活动\",\n                \"activity_desc\": \"周一到周五每天领无门槛6元红包\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i4/6000000001685/O1CN01kHFuSF1OJmNKVPJ7j_!!6000000001685-2-o2oad.png\",\n                \"start_time\": \"1739116800\",\n                \"end_time\": \"1740758399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"11982\",\n                \"activity_name\": \"零售天天好价\",\n                \"activity_desc\": \"折扣好价天天享\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000005626/O1CN01VGMppW1rQlGgRI19F_!!6000000005626-2-o2oad.png\",\n                \"start_time\": \"1729699200\",\n                \"end_time\": \"1793462399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12186\",\n                \"activity_name\": \"百果园全国品牌日\",\n                \"activity_desc\": \"百果园满39减10元\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000002217/O1CN010DPxcg1SFR73OTrRn_!!6000000002217-2-o2oad.png\",\n                \"start_time\": \"1740067200\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12043\",\n                \"activity_name\": \"零售周末疯省榜\",\n                \"activity_desc\": \"领6元红包\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i1/6000000004621/O1CN01H950E71k0TFruLn0V_!!6000000004621-0-o2oad.jpg\",\n                \"start_time\": \"1740153600\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            },\n            {\n                \"activity_id\": \"12275\",\n                \"activity_name\": \"大牌神券\",\n                \"activity_desc\": \"饿了么品牌官方旗舰店 巨献\",\n                \"activity_image\": \"https://img.alicdn.com/imgextra/i3/6000000007113/O1CN015ryPPe22PoFVvgj6w_!!6000000007113-0-o2oad.jpg\",\n                \"start_time\": \"1740067200\",\n                \"end_time\": \"1740326399\",\n                \"act_type\": \"1\"\n            }\n        ]\n    },\n    \"timestamp\": 1740245162999,\n    \"executeTime\": 296\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import hdk;    //导入hdk模块

//例子
var params =  {
    apiMethodName:"elm_activity_list"
    };
if(body!=null){
    params.putAll(body);
}
var response = hdk.execute(params);
if(response.code!=1 && response.code!=200) {
    exit 500,response.msg;
}
return response.data;
